package com.rpframework.core.json;

/**
 * 自定义code
 * 
 * @author 刘兴
 */
public class LoginExpiredException extends JsonException {
	private static final long serialVersionUID = 1L;

	public LoginExpiredException() {
		super();
		setJsonResp(new JsonResp().login());
	}

	public LoginExpiredException(String message, Throwable cause, boolean enableSuppression,
			boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
		setJsonResp(new JsonResp().login(message));
	}

	public LoginExpiredException(String message, Throwable cause) {
		super(message, cause);
		setJsonResp(new JsonResp().login(message));
	}

	public LoginExpiredException(String message) {
		super(message);
		setJsonResp(new JsonResp().login(message));
	}

	public LoginExpiredException(Throwable cause) {
		super(cause);
	}

}
